package com.tedu.bill.demo8;

/**
 * Author：毕龙
 * Date: 2024/4/17 16:00
 */
public class BB extends AA{
    private String message = "初始化子类的实例变量";

    {
        System.out.println(message);
        System.out.println("执行子类的动态代码块");
    }

    public BB(){

        System.out.println("执行子类的构造方法");
    }
}
